<?php
namespace App\Repository\Contracts;

/**
 * @Author:: HuangYin
 * @DateTime: 2017-01-22 17:24
 *
 * @Description: 商品库存同步
 */
interface GoodsJavaInterface
{
    /**
     * 同步库存
     *
     * @param $storeId
     * @param array $data
     * @return mixed
     */
    public function syncInventory($storeId, array $data);

    /**
     * @param int $createdAt
     * @return mixed
     */
    public function syncList($createdAt = 0);
}